package com.boot.security.server.agency.mapper;

import com.boot.security.server.agency.model.domain.AgencyRecord;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 代办记录
 * @author king
 */
public interface AgencyRecordMapper extends Mapper<AgencyRecord> {
    /**
     * 代办分页查询
     * @param toUserId
     * @param index
     * @param limit
     * @return
     */
    List<AgencyRecord> selectPage (@Param("toUserId") Integer toUserId, @Param("index") Integer index, @Param("limit") Integer limit);
}